home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload Trio 2 / Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO / dir38 / grabb397.zip / DOCFILES.SFX / GRTXT.DOC < prev    next >
Text File  |  1994-05-14  |  26KB  |  535 lines

  1.  
  2.  
  3.  
  4.                                    GRABBER/TXT(tm)
  5.  
  6.                            The Text Screen Capture Program
  7.                           for MS-DOS and IBM-PC Compatibles
  8.  
  9.                             Version 2.00  Shareware Issue
  10.  
  11.                           ----------------------------------
  12.  
  13.                                     DOCUMENTATION
  14.                                     May 14, 1994
  15.  
  16.                                 Copyright 1987-1994 by
  17.                                    Gerald A. Monroe
  18.                                  All rights reserved.
  19.  
  20.  
  21.  
  22.                  +-------------------------------------------------+
  23.                  |  Although they are shareware, GRTXT and this    |
  24.                  |  documentation file are copyrighted.  They are  |
  25.                  |  not in the  public  domain  and they are  not  |
  26.                  |  "freeware."   Please  consult  page 6  of the  |
  27.                  |  REGISTER.DOC  file  for  important  copyright  |
  28.                  |  information and license provisions.            |
  29.                  +-------------------------------------------------+
  30.  
  31.                Thank you  for your interest in  the GRABBER(tm) screen
  32.                capture system!
  33.  
  34.                The GRABBER  package is being marketed  in this special
  35.                form as shareware.  This means you have the opportunity
  36.                to  use and evaluate it  for 30 days  before you decide
  37.                whether  to buy.   If you continue  to use GRABBER.EXE,
  38.                any of its  "offspring" programs, or  any of the  other
  39.                programs in  the  GRABBER package  beyond  such  30-day
  40.                period, then you are required to send your registration
  41.                fee to  the publisher according to  the instructions in
  42.                the  REGISTER.DOC file.   When  you register,  you will
  43.                receive a copy of the  latest release of the registered
  44.                GRABBER package that you  order.  You may  not continue
  45.                using GRABBER  beyond such 30-day period without regis-
  46.                tering.   For registration  instructions and a complete
  47.                statement of your license  to use this software, please
  48.                consult the REGISTER.DOC file.
  49.  
  50.                                 Gerald A. Monroe
  51.                                 P.O. Box 770906
  52.                                 Cleveland, Ohio 44107, U.S.A.
  53.                                 CompuServe Mail:  72321,1257
  54.                                 Fax:  (216) 521-6060
  55.  
  56.  
  57.  
  58.           IBM, PC and PC/XT are  trademarks of  International Business
  59.           Machines Corporation.
  60.  
  61.  
  62.  
  63.                                   Table of Contents
  64.  
  65.  
  66.                Shareware Registration and License Information .....  1
  67.  
  68.                Overview of GRABBER/TXT ............................  3
  69.  
  70.                Using GRABBER and GRTXT simultaneously .............  3
  71.  
  72.                GRTXT doesn't work with graphics screens ...........  4
  73.  
  74.                Modifying the GRTXT hotkey .........................  4
  75.  
  76.                GRTXT installation options, including the following:
  77.                  *  DEFAULTDRIVE
  78.                  *  MOUSE and NOMOUSE
  79.                  *  UNLOAD
  80.                  *  SOUND and NOSOUND
  81.                  *  PROMPT and NOPROMPT
  82.                  *  NOSWAP
  83.                  *  NOEMS
  84.                  *  NOUMB
  85.                  *  INT=nn
  86.                  *  INT=OFF
  87.                  *  BATCHCAPTURE
  88.                  *  BATCHCAPTURE:filename .........................  4
  89.  
  90.                Additional GRTXT configuration options .............  5
  91.                  *  CROP and NOCROP ...............................  5
  92.                  *  1FORM, 2FORM, 3FORM, 4FORM, 5FORM, NOFORM .....  5
  93.                  *  PERMANENT=filename
  94.                     NOPERMANENT ...................................  6
  95.                  *  APPEND and NOAPPEND ...........................  7
  96.  
  97.                How GRTXT names files ..............................  7
  98.  
  99.                GRTXT and filename prompts .........................  8
  100.  
  101.                How to control GRTXT's "crop box" ..................  9
  102.  
  103.                Calling GRTXT from your own programs ............... 10
  104.  
  105.           GRTXT(tm)                 Documentation              Page 3 of 10
  106.  
  107.  
  108.  
  109.           OVERVIEW OF GRABBER/TXT
  110.           ------------------------
  111.  
  112.           GRABBER/TXT ("GRTXT") is an alternative version of the GRABBER
  113.           screen capture program.  It is an especially valuable tool for
  114.           users who need to capture character-based text images from the
  115.           video screen directly to plain ASCII text files on disk.
  116.  
  117.           While GRABBER can be used to capture both character-based text
  118.           screens as well as pixel-based graphic images to your disk in the
  119.           form of executable image files, GRTXT is designed to capture
  120.           character-based text screens exclusively.  GRTXT also differs
  121.           from GRABBER in that GRTXT captures your screens directly to
  122.           plain-ASCII text files, instead of to GRABBER's .exe file format.
  123.  
  124.           If your screen capture needs are mostly text-based, and you
  125.           require the ASCII format rather than the .exe format, then GRTXT
  126.           can be more convenient to use than GRABBER.  GRTXT creates ASCII
  127.           text files that are ready to use immediately, without having to
  128.           be processed first by the GR2ASCII conversion utility which
  129.           accompanies GRABBER.
  130.  
  131.           GRTXT is installed and operated in much the same way as GRABBER,
  132.           and the two programs have a very similar look and feel.  For the
  133.           most part, this documentation for GRTXT covers only the aspects
  134.           of GRTXT which differ from GRABBER.  It is assumed here that you
  135.           have read the GRABBER documentation file (GRABBER.DOC) and become
  136.           familiar with that program's operation.
  137.  
  138.  
  139.           USING GRABBER and GRTXT SIMULTANEOUSLY
  140.           ---------------------------------------
  141.  
  142.           GRTXT is designed to be compatible with GRABBER.  Both programs
  143.           can be installed in memory and used at the same time, but only if
  144.           you specify the "INT=OFF" command-line switch when you initial
  145.           install GRTXT in memory.
  146.  
  147.           The default "hotkey" sequence for GRTXT is [Alt =].  That is, you
  148.           hold down the [Alt] key, press the equal sign key [=], then
  149.           release the [Alt] key.
  150.  
  151.           As in GRABBER, the MOUSE command-line option in GRTXT allows you
  152.           to capture the screen by holding down the left and right mouse
  153.           buttons simultaneously for one or two seconds.  If you have
  154.           installed both GRABBER.EXE and GRTXT.EXE in memory simultaneous-
  155.           ly, you should not use the MOUSE switch to enable the mouse
  156.           hotkey with both programs.  Strange results are almost guaranteed
  157.           to occur, and it may even lock up your computer when you use the
  158.           mouse hotkey.  It is acceptable to use the MOUSE switch with
  159.           either GRTXT or GRABBER, but not both.
  160.  
  161.           GRTXT(tm)                 Documentation              Page 4 of 10
  162.  
  163.  
  164.  
  165.           GRTXT DOES NOT WORK WITH GRAPHICS SCREENS
  166.           ------------------------------------------
  167.  
  168.           GRTXT is designed to capture character-based text images exclu-
  169.           sively.  If you press GRTXT's hotkey and hear a single low-
  170.           pitched tone on the computer speaker, this means that GRTXT
  171.           thinks the video screen is running in a pixel-based graphics
  172.           mode, and it is unable to capture the screen.  Even if a pixel-
  173.           based graphic image contains text characters, GRTXT will not
  174.           attempt to "recognize" the outlines of the characters.
  175.  
  176.  
  177.           MODIFYING THE GRTXT HOTKEY
  178.           ---------------------------
  179.  
  180.           GRTXT allows you to modify your hotkey sequence from the default
  181.           [Alt =] to practically any other key sequence you choose.  In
  182.           this respect, GRTXT is exactly like GRABBER.  There is no sepa-
  183.           rate documentation here which covers the procedure for changing
  184.           your GRTXT hotkey.  GRTXT uses the exact same hotkey procedures
  185.           as GRABBER.  You can read about these in the GRABBER.DOC manual,
  186.           at page 33 and at Appendices A and B.  (To view a list of valid
  187.           KEY= codes for GRTXT, use the command GRTXT KEY=?.  To view a
  188.           list of valid SHIFT= codes, enter GRTXT SHIFT=?.)
  189.  
  190.  
  191.  
  192.           GRTXT COMMAND-LINE OPTIONS
  193.           ---------------------------
  194.  
  195.           GRTXT accepts the following command-line configuration options. 
  196.           Each of these optional switches can be added to the GRTXT command
  197.           line to alter GRTXT's default mode of operation.  All of these
  198.           switches are also available in the GRABBER.EXE program, and none
  199.           is separately described here.  For complete details concerning
  200.           the purpose of these options and how they work, consult the
  201.           section "Grabber Installation Options" beginning on page 14 in
  202.           the GRABBER program documentation.
  203.  
  204.                *  DEFAULTDRIVE          (specifies capture destination)
  205.                *  MOUSE and NOMOUSE     (enables/disables mouse hotkey)
  206.                *  UNLOAD                (removes GRTXT from memory)
  207.                *  SOUND and NOSOUND     (enables/disables sounds)
  208.                *  PROMPT and NOPROMPT   (enables/disables screen prompts)
  209.                *  NOSWAP                (disables swapping of DOS kernel)
  210.                *  NOEMS                 (disables GRTXT's EMS memory usage)
  211.                *  NOUMB                 (disables GRTXT'S UMB memory usage)
  212.                *  INT=nn                (specifies block of interrupt
  213.                                          vectors for redirecting IRQ0-IRQ7)
  214.                *  INT=OFF               (disables redirection of IRQ0-IRQ7)
  215.                *  BATCHCAPTURE          (causes immediate screen capture)
  216.                *  BATCHCAPTURE:filename (causes immediate screen capture to
  217.                                          file specified as "filename")
  218.  
  219.           GRTXT(tm)                 Documentation              Page 5 of 10
  220.  
  221.  
  222.  
  223.           ADDITIONAL GRTXT CONFIGURATION OPTIONS
  224.           ---------------------------------------
  225.  
  226.           In addition to the command-line configuration options above
  227.           (which GRTXT.EXE shares with GRABBER.EXE), GRTXT also recognizes
  228.           the following command-line options.  Note that you may specify
  229.           any of the following options on the GRTXT command line when you
  230.           initially install GRTXT in memory, *or* after GRTXT is already
  231.           resident in memory.
  232.  
  233.  
  234.           Option:   CROP  or  NOCROP
  235.  
  236.           Purpose:  To enable or disable GRTXT's "crop box" feature, which
  237.                     allows you to capture only the part of the screen which
  238.                     you select.  When the CROP setting is active and you
  239.                     request a screen capture, GRTXT does not capture the
  240.                     screen right away.  Instead, it first prompts you to
  241.                     indicate which portion of the screen you wish to cap-
  242.                     ture to a .TXT file by drawing a box on top of the
  243.                     current screen image, which you can move and reshape to
  244.                     your preference.  Instructions for moving and reshaping
  245.                     this "crop box" are given below on page 9.
  246.  
  247.                     When the NOCROP setting is active, GRTXT captures the
  248.                     entire screen image to a .TXT file, and does not prompt
  249.                     you to indicate which portion you wish to capture.
  250.  
  251.                     The default setting for this feature is NOCROP.
  252.  
  253.  
  254.  
  255.           Option:   1FORM, 2FORM, 3FORM, 4FORM, 5FORM, or NOFORM
  256.  
  257.           Purpose:  To enable or disable GRTXT's ability to insert a "form
  258.                     feed" character after a specified number of screens has
  259.                     been captured to a .TXT file.  This option only has an
  260.                     effect in the following situations:
  261.  
  262.                          1)   The NOPROMPT setting and the APPEND setting
  263.                               are both active, or
  264.  
  265.                          2)   The PROMPT setting is active and you are
  266.                               appending subsequent screen captures to the
  267.                               same .TXT file.
  268.  
  269.                     Using these options, you can tell GRTXT to insert a
  270.                     form feed character (12 decimal, 0C hexadecimal) after
  271.                     'n' screens have been captured to the same .TXT file,
  272.                     where 'n' can be any single digit from 1 to 5.  For
  273.                     example, when the 1FORM setting is active, GRTXT in-
  274.                     serts a form feed character after each screen is writ-
  275.                     ten to the .TXT file.  When the 2FORM setting is ac-
  276.  
  277.           GRTXT(tm)                 Documentation              Page 6 of 10
  278.  
  279.  
  280.  
  281.                     tive, GRTXT inserts a form feed character after every
  282.                     second screen written to the .TXT file, and so forth. 
  283.                     To prevent GRTXT from inserting any form feed charac-
  284.                     ters into the .TXT file, specify the NOFORM setting.
  285.  
  286.                     Inserting form feed characters can be useful for print-
  287.                     ing the data in the captured .TXT file later, because
  288.                     the form feed character causes most standard (non-
  289.                     Postscript) printers to automatically eject the current
  290.                     page and start a new page at the point where the char-
  291.                     acter appears.
  292.  
  293.                     The default setting for this feature is NOFORM.
  294.  
  295.  
  296.  
  297.           Options:  PERMANENT=filename
  298.                     NOPERMANENT
  299.  
  300.           Purpose:  To tell GRTXT whether to capture all screens to the
  301.                     file represented by "filename".
  302.  
  303.                     This option allows you to force GRTXT to capture all
  304.                     screen data to a certain filename that you specify. 
  305.                     For example, to capture all screens to a file in the
  306.                     current directory called TEXTDATA.TXT, you would in-
  307.                     clude this option on the GRTXT command line:
  308.  
  309.                          GRTXT [other options] PERMANENT=TEXTDATA.TXT
  310.  
  311.                     Your "filename" can also include a drive and path
  312.                     specification, for example:
  313.  
  314.                       GRTXT [other options] PERMANENT=C:\PICTURES\TEST.TXT
  315.  
  316.                     If you have told GRTXT to capture all data to a certain
  317.                     filename using the "PERMANENT=" option, you can tell it
  318.                     to stop forcing data into that file by including the
  319.                     NOPERMANENT option on the command line.
  320.  
  321.                     Note that when you use the "PERMANENT=" option, it
  322.                     automatically has two side effects.  First, PERMANENT=
  323.                     automatically sets the NOPROMPT option, which means you
  324.                     will not be prompted on the screen to enter a filename
  325.                     each time you request a screen capture.  Second, PERMA-
  326.                     NENT= automatically sets the APPEND option (see below),
  327.                     which means that all screen data will be appended to
  328.                     the same .TXT file while the PERMANENT= setting is
  329.                     active.
  330.  
  331.                     The default setting for this feature is NOPERMANENT.
  332.  
  333.           GRTXT(tm)                 Documentation              Page 7 of 10
  334.  
  335.  
  336.  
  337.           Option:   APPEND  or  NOAPPEND
  338.  
  339.           Purpose:  To enable or disable the "Append Mode" when you have
  340.                     told GRTXT not to use on-screen filename prompts by
  341.                     using the NOPROMPT command switch.  This option has no
  342.                     effect when the filename prompts are enabled.
  343.  
  344.                     When filename prompts are disabled and you specify
  345.                     APPEND, then GRTXT will create only one .TXT file, and
  346.                     will append the contents of each subsequent screen to
  347.                     that file until you enable the filename prompts again. 
  348.                     When filename prompts are disabled and you specify
  349.                     NOAPPEND, then GRTXT works in its "Overwrite" mode,
  350.                     which means that it will create a separate .TXT file
  351.                     for each screen capture you request.
  352.  
  353.                     The default setting for this feature is NOAPPEND.
  354.  
  355.  
  356.           HOW GRTXT NAMES FILES
  357.           ----------------------
  358.  
  359.           When the PROMPT setting is active, GRTXT prompts you on the
  360.           screen to enter a name for the captured .TXT file.  However, when
  361.           the NOPROMPT setting is active, GRTXT does not prompt you to
  362.           enter a filename.  Instead, it makes its own filename as follows.
  363.  
  364.           GRTXT tries to automatically detect the name of the program that
  365.           is running when you tell it to capture the screen.  If GRTXT is
  366.           able to detect the program's name, it takes the first six charac-
  367.           ters of that name and adds (1) a two-digit number from "00"
  368.           through "99", and (2) a file name extension of ".TXT".  This is
  369.           the name that will be assigned to the captured screen file.
  370.  
  371.           GRTXT always picks the lowest available two-digit number in the
  372.           destination path.  For example, if you are running a program
  373.           called "WORDPROC.EXE" and there are already four files in the
  374.           destination path named "WORDPR00.TXT" through "WORDPR03.TXT",
  375.           then your next screen capture from that program will be called
  376.           "WORDPR04.TXT".  If there are already 100 files in the destina-
  377.           tion path named "WORDPR00.TXT" through "WORDPR99.TXT", then your
  378.           next screen capture from that program will be called
  379.           "WORDPR00.TXT", and the contents of the original WORDPR00.TXT
  380.           file will be overwritten and lost forever.
  381.  
  382.           If GRTXT detects that you are sitting at the DOS prompt when you
  383.           request a screen capture, it will name the captured files
  384.           MSDOS00.TXT, MSDOS01.TXT, and so forth.
  385.  
  386.           If GRTXT is unable to detect the name of the currently running
  387.           program, it will assign the names SCREEN00.TXT, SCREEN01.TXT, and
  388.           so forth.
  389.  
  390.           GRTXT(tm)                 Documentation              Page 8 of 10
  391.  
  392.  
  393.  
  394.           GRTXT AND FILENAME PROMPTS
  395.           ---------------------------
  396.  
  397.           Probably the most significant difference you will notice between
  398.           GRTXT's interface and GRABBER's is in the area of the on-screen
  399.           filename prompts.  The following discussion only applies when the
  400.           PROMPT setting is active.
  401.  
  402.           The first time you call up GRTXT after installing it, there is no
  403.           default filename shown on the screen.  You must supply your own
  404.           file name.
  405.  
  406.           After your first .TXT screen capture, however, subsequent file-
  407.           name prompts will offer you a default filename which is identical
  408.           to the previous one you specified.  You may accept this default
  409.           filename by pressing <Return>, or you can enter another name. 
  410.           After you press <Return>, you will then see this additional
  411.           prompt, which is not present in GRABBER:
  412.  
  413.                  FILENAME exists -- (A)ppend, (O)verwrite, (C)ancel ?
  414.  
  415.           If you wish to retain the contents of FILENAME.TXT and simply
  416.           append the current screen to the bottom of it, just press <A> or
  417.           <Return>. If you wish to overwrite (i.e., erase and replace) the
  418.           contents of the original FILENAME.TXT file, then press <O>.  If
  419.           you decide not to work with this name and wish to enter a differ-
  420.           ent name instead, press <C> (for "Cancel").
  421.  
  422.           GRTXT(tm)                 Documentation              Page 9 of 10
  423.  
  424.  
  425.  
  426.           HOW TO CONTROL GRTXT's CROP BOX
  427.           --------------------------------
  428.  
  429.                When the CROP option is enabled (see page 5 above), you can
  430.           move and reshape GRTXT's crop box on your screen by using the
  431.           following keys:
  432.  
  433.  
  434.           <Esc> . . . . . . . . . .     Abort the screen capture and exit
  435.                                         back to the foreground program.
  436.  
  437.           <Return>  . . . . . . . .     Accept the area covered by the crop
  438.                                         box, and begin capturing.
  439.  
  440.           <Left Arrow>,
  441.           <Right Arrow>,
  442.           <Up Arrow> or
  443.           <Down Arrow>  . . . . . .     Move the crop box in the direction
  444.                                         indicated, without changing the
  445.                                         shape of the box.
  446.  
  447.           <Shift><Left Arrow> . . .     Shrink the box horizontally.
  448.  
  449.           <Shift><Right Arrow>  . .     Expand the box horizontally.
  450.  
  451.           <Shift><Up Arrow> . . . .     Shrink the box vertically.
  452.  
  453.           <Shift><Down Arrow> . . .     Expand the box vertically.
  454.  
  455.           <Home>  . . . . . . . . .     Move the box to the upper left-hand
  456.                                         corner of the screen.
  457.  
  458.           <End> . . . . . . . . . .     Move the box to the lower left-hand
  459.                                         corner of the screen.
  460.  
  461.           <Ctrl><PgUp>  . . . . . .     Move the box to the upper right-
  462.                                         hand corner of the screen.
  463.  
  464.           <Ctrl><PgDn>  . . . . . .     Move the box to the lower right-
  465.                                         hand corner of the screen.
  466.  
  467.           <PgUp>  . . . . . . . . .     Move box to top edge of the screen.
  468.  
  469.           <PgDn>  . . . . . . . . .     Move box to bottom edge of the
  470.                                         screen.
  471.  
  472.           <Ctrl><Left Arrow>  . . .     Move box to left edge of the
  473.                                         screen.
  474.  
  475.           <Ctrl><Right Arrow> . . .     Move box to right edge of the
  476.                                         screen.
  477.  
  478.           GRTXT(tm)                 Documentation             Page 10 of 10
  479.  
  480.  
  481.  
  482.           PROGRAMMERS NOTE:
  483.           CALLING GRTXT FROM YOUR OWN PROGRAMS
  484.           -------------------------------------
  485.  
  486.           If you are a programmer developing your own software, you can
  487.           invoke GRTXT to capture the screen from within your own program,
  488.           assuming that GRTXT is already resident in memory.
  489.  
  490.           This is accomplished by using GRTXT's external programming hook, 
  491.           which is really a customized call to Interrupt 16h, described
  492.           below.  You can write a routine to implement this hook in 80x86
  493.           assembly language or in any high-level programming language which
  494.           supports BIOS-level interrupt calls.
  495.  
  496.  
  497.           CUSTOMIZED INTERRUPT 16H TO INVOKE GRTXT, SERVICE 4754H
  498.           --------------------------------------------------------
  499.  
  500.           On entry:   AX = 4754h
  501.                          DL = 0    (to check only if GRTXT is resident)
  502.                          DL = 1    (to capture the current screen)
  503.  
  504.           On return:  AX = 5447h   (if GRTXT is installed in memory)
  505.  
  506.                     For DL=0
  507.                      or DL=1:   BL contains the logical drive to which
  508.                                 the capture would be attempted (DL=0)
  509.                                 or was attempted (DL=1).  0=default drive,
  510.                                 1=drive A, 2=drive B, and so forth.
  511.  
  512.                     For DL=1:
  513.  
  514.                        No -->   Capture successful.  ES:DX points to
  515.                     Carry       an ASCIIZ string which contains the
  516.                      Flag       [drive:][\path\]filename of the newly
  517.                                 created offspring (drive also coded in BL).
  518.  
  519.                     Carry -->   If DX = FFFFh, then a capture attempt
  520.                      Flag       failed due to a critical disk error or
  521.                       Set       disk-full error on the logical drive
  522.                                 encoded in BL.  (Speaker beeped in either
  523.                                 case.)
  524.  
  525.                                 If DX does not equal FFFFh, capture was
  526.                                 not attempted.  GRTXT was busy servicing
  527.                                 a prior capture request, or some other disk
  528.                                 I/O was occurring, or DOS was not in a re-
  529.                                 enterable state.  Try again momentarily.
  530.  
  531.  
  532.  
  533.  
  534.                           * * *    End of GRTXT.DOC   * * *
  535.